package com.migu.spms.service.inf;

import com.migu.spms.dao.entity.BaseLineCriteria;
import com.migu.spms.dao.entity.BaseLineDO;
import com.migu.spms.dao.entity.ProjectCriteria;
import com.migu.spms.dao.entity.ProjectDO;
import com.migu.spms.service.data.PaginationResult;
import com.migu.spms.service.data.User;
import com.migu.spms.webapi.data.BaseLineRequirementResponse;
import com.migu.spms.webapi.data.EditRequireRequest;
import com.migu.spms.webapi.data.RequirementResponse;

public interface IBaseLineService {

	/**查询所有打基线的版本的需求*/
	PaginationResult<BaseLineRequirementResponse> getAllUnBasedLineRequirement(BaseLineCriteria req);

	void updateBaseLineRequirement(BaseLineCriteria criteria);

	PaginationResult<RequirementResponse> copyRequirement(BaseLineCriteria criteria ,User user);

	PaginationResult getRequirement(BaseLineCriteria criteria);

	void updateRequirement(EditRequireRequest editRequireRequest,User user) throws Exception;

	PaginationResult<ProjectDO> getAllProject(ProjectCriteria record);

	PaginationResult<BaseLineDO> getAllUnBasedLineVersion(BaseLineCriteria criteria);
	

}
